import request from '@/utils/request'

// 查询试验报告硬梁包无损列表
export function listYlbws(query) {
  return request({
    url: '/sybg/ylbws/list',
    method: 'get',
    params: query
  })
}

// 查询试验报告硬梁包无损详细
export function getYlbws(sybgYlbwsId) {
  return request({
    url: '/sybg/ylbws/' + sybgYlbwsId,
    method: 'get'
  })
}

// 新增试验报告硬梁包无损
export function addYlbws(data) {
  return request({
    url: '/sybg/ylbws',
    method: 'post',
    data: data
  })
}

// 修改试验报告硬梁包无损
export function updateYlbws(data) {
  return request({
    url: '/sybg/ylbws',
    method: 'put',
    data: data
  })
}

// 删除试验报告硬梁包无损
export function delYlbws(sybgYlbwsId) {
  return request({
    url: '/sybg/ylbws/' + sybgYlbwsId,
    method: 'delete'
  })
}
